$blue: #3190e8;
$bc: #e4e4e4;
$fc: #fff;

$primary: #ff9a6a;
$orange: #f67264;
$darkGray: #333333;
$mediumGray: #666666;
$lightGray: #999999;
$dividerColor: #f8f8f8;
$comicBgColor: #F5F4EF;

// 背景图片地址和大小
@mixin bis($url) {
  background: url($url) no-repeat;
  background-size: 100% 100%;
}

@mixin borderRadius($radius) {
  -webkit-border-radius: $radius;
  -moz-border-radius: $radius;
  -ms-border-radius: $radius;
  -o-border-radius: $radius;
  border-radius: $radius;
}

//定位全屏
@mixin allcover {
  position: absolute;
  top: 0;
  right: 0;
}

//定位上下左右居中
@mixin center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

//定位上下居中
@mixin centerVertical {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

//定位左右居中
@mixin centerHorizontal {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

//内容居中
@mixin childInCenter() {
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
}

//宽高
@mixin wh($width, $height) {
  width: $width;
  height: $height;
}

//字体大小、行高、字体
@mixin font($size, $line-height, $family: 'Microsoft YaHei') {
  font: #{$size}/#{$line-height} $family;
}

//字体大小，颜色
@mixin sc($size, $color) {
  font-size: $size;
  color: $color;
}

//flex 布局和 子元素 对其方式
@mixin fj($type: space-between) {
  display: flex;
  justify-content: $type;
}

//字体大小，颜色
@mixin singleLine() {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@mixin ellipsis2($line) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $line;
  line-clamp: $line;
  overflow: hidden;
  text-overflow: ellipsis;
}

@mixin scrollBarStyle() {

}


